from pymysql import install_as_MySQLdb
install_as_MySQLdb()  # 让pymysql以MyS